[GI] Fix transfer annotation on gtk_dialog_add_button()
authorSteve Frécinaux <code@istique.net>
Thu, 20 Jan 2011 10:53:47 +0000 (11:53 +0100)
committerSteve Frécinaux <code@istique.net>
Thu, 20 Jan 2011 10:55:38 +0000 (11:55 +0100)
commit3f0d330a6525cecca12569719adf210969e05fdf
treecf3ecbfa3f068fb07945f9ee7d1547982d776345
parent75a05621bfb2bf0d002fd10a364404164c9ca8dd
[GI] Fix transfer annotation on gtk_dialog_add_button()

The transfer annotation was (transfer full) but the caller actually
doesn't own a reference of the object. This made the pygobject test suite
crash because pygobject was trying to unref the returned GtkButton
instance.

https://bugzilla.gnome.org/show_bug.cgi?id=639949
gtk/gtkdialog.c